package cn.snmp.mutual.uk.stack;


import cn.snmp.mutual.uk.event.RawPduListener;

import java.io.*;

public interface ListeningContextFace {
    String version_id = "@(#)$Id: ListeningContextFace.java,v 3.6 2006/11/29 16:12:50 birgit Exp $ Copyright Westhawk Ltd";
    int DEFAULT_TRAP_PORT = 162;

    int getPort();

    String getBindAddress();

    String getTypeSocket();

    int getMaxRecvSize();

    void setMaxRecvSize(final int p0);

    void destroy();

    void addRawPduListener(final RawPduListener p0) throws IOException;

    void removeRawPduListener(final RawPduListener p0);

    void addUnhandledRawPduListener(final RawPduListener p0) throws IOException;

    void removeUnhandledRawPduListener(final RawPduListener p0);
}
